package cn.alise.controller.login;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cn.alise.controller.common.BaseController;


/**
 * 主页相关控制类
 * @author zhuyf
 *
 */
@Controller
@RequestMapping("/")
public class MainController extends BaseController {
	private static final long serialVersionUID = 8896598765375803390L;
	
	/**
	 * 首页
	 * @param request
	 * @param response
	 * @param account
	 * @return
	 */
	@RequestMapping(value = "/", method=RequestMethod.GET)
	public String index(HttpServletRequest request, HttpServletResponse response) {
		return "redirect:login/forward";
	}
}
